package com.dapeng.cleardatabackend.model.vo.graphdetail;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;
import java.util.Set;

/**
 * @author dapeng
 * @description 图谱详情VO
 * @date 2024/12/22 22:31
 */
@Data
@ApiModel(description = "图谱详情VO")
public class GraphDetailVO implements Serializable {

    private static final long serialVersionUID = 431319699180079952L;

    /**
     * 图谱id
     */
    @ApiModelProperty(value = "图谱id")
    private Long id;

    /**
     * 图谱名称
     */
    @ApiModelProperty(value = "图谱名称")
    private String name;

    /**
     * 节点列表
     */
    @ApiModelProperty(value = "节点列表")
    private List<Node> nodes;

    /**
     * 关系列表
     */
    @ApiModelProperty(value = "关系列表")
    private List<Link> links;

    /**
     * 类型列表
     */
    @ApiModelProperty(value = "类型列表")
    private Set<Category> categories;
}
